﻿using CQIE.TES.IDAL;
using CQIE.TES.IService;
using CQIE.TES.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CQIE.TES.Service
{
    public class StudyYearService : IStudyYearService
    {
        private readonly IStudyYearDAL _dal;
        /// <summary>
        /// 构造函数注入
        /// </summary>
        /// <param name="dal"></param>
        public StudyYearService(IStudyYearDAL dal)
        {
            this._dal = dal;
        }
        public List<StudyYear> GetStudyYearsInfo() {
            return _dal.GetStudyYearsInfo();
        }
    }
}
